const components = require.context('../components/pages/', true, /\.vue$/);
const pages = {};

components.keys().map(value => components(value).default)
  .filter(value => value).forEach((value) => {
    pages[value.name] = value;
  });
export default pages;
